package com.pulanit.pangu.admin.business.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 文稿专家审核表
 * </p>
 *
 * @author 天鸣
 * @since 2024-03-06
 */
@Getter
@Setter
@TableName("article_expert")
public class ArticleExpert implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 文稿ID
     */
    @TableField("article_id")
    private Long articleId;

    @TableField(exist = false)
    private String articleTitle;

    @TableField(exist = false)
    private Long fieldId;

    /**
     * 编辑用户ID
     */
    @TableField("edit_user_id")
    private Long editUserId;

    /**
     * 编辑用户ID
     */
    @TableField(exist = false)
    private String editUserName;

    /**
     * 专家ID
     */
    @TableField("expert_user_id")
    private Long expertUserId;

    /**
     * 专家ID
     */
    @TableField(exist = false)
    private String expertUserName;

    /**
     * 审核状态（0未审核，1审核通过，2未通过）
     */
    @TableField("check_status")
    private Integer checkStatus;

    /**
     * 是否拒绝审核（0等待，1接收，2拒绝）
     */
    @TableField("refuse")
    private Integer refuse;

    /**
     * 专家反馈建议
     */
    @TableField("callback_advise")
    private String callbackAdvise;

    /**
     * 创建时间
     */
    @TableField("create_date")
    private LocalDateTime createDate;

    /**
     * 再次分配后逻辑删除
     */
    @TableField("deleted")
    private Boolean deleted;


}
